package com.zzyl.nursing.domain;

import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "小程序绑定家人接受数据的实体")
public class FamilyMemberElder {

    // id
    @ApiModelProperty(value = "主键ID")
    private Long id;

    //家属id
    @ApiModelProperty(value = "家属id")
    private Long familyMemberId;

    //老人id
    @ApiModelProperty(value = "老人id")
    private Long elderId;

    //创建时间
    @Excel(dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    //修改时间
    @Excel(dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    //创建人id

    @ApiModelProperty(value = "创建人id")
    private String createBy;

    //更新人id
    @ApiModelProperty(value = "更新人id")
    private String updateBy;





    //身份证号
    @ApiModelProperty(value = "身份证号")
    private String idCard;

    //老人姓名
    @ApiModelProperty(value = "老人姓名")
    private String name;

    //称呼
    @ApiModelProperty(value = "称呼")
    private String remark;


}
